<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.6.0">
    <bpmn:process id="oneTaskWithIntermediateThrowEvent" name="oneTaskWithIntermediateThrowEvent" isExecutable="true">
        <bpmn:startEvent id="theStart" name="theStart">
            <bpmn:outgoing>flow1</bpmn:outgoing>
        </bpmn:startEvent>
        <bpmn:sequenceFlow id="flow1" name="flow1" sourceRef="theStart" targetRef="theTask" />
        <bpmn:endEvent id="theEnd" name="theEnd">
            <bpmn:incoming>flow8</bpmn:incoming>
        </bpmn:endEvent>
        <bpmn:boundaryEvent id="BoundaryEvent_1qkuihx" attachedToRef="theTask">
            <bpmn:compensateEventDefinition />
        </bpmn:boundaryEvent>
        <bpmn:task id="CompensateMyTask" name="CompensateMyTask" isForCompensation="true" />
        <bpmn:userTask id="theTask" name="theTask">
            <bpmn:incoming>flow1</bpmn:incoming>
            <bpmn:outgoing>flow2</bpmn:outgoing>
        </bpmn:userTask>
        <bpmn:sequenceFlow id="flow2" name="flow2" sourceRef="theTask" targetRef="ExclusiveGateway_1qlu2p1" />
        <bpmn:sequenceFlow id="flow5" name="flow5" sourceRef="ExclusiveGateway_1qlu2p1" targetRef="CancelthrowEvent" />
        <bpmn:intermediateThrowEvent id="CancelthrowEvent" name="CancelthrowEvent">
            <bpmn:incoming>flow5</bpmn:incoming>
            <bpmn:outgoing>flow6</bpmn:outgoing>
            <bpmn:compensateEventDefinition activityRef="theTask" />
        </bpmn:intermediateThrowEvent>
        <bpmn:sequenceFlow id="flow7" name="flow7" sourceRef="ExclusiveGateway_1qlu2p1" targetRef="ExclusiveGateway_0t2xd5m" />
        <bpmn:sequenceFlow id="flow6" name="flow6" sourceRef="CancelthrowEvent" targetRef="ExclusiveGateway_0t2xd5m" />
        <bpmn:sequenceFlow id="flow8" name="flow8" sourceRef="ExclusiveGateway_0t2xd5m" targetRef="theEnd" />
        <bpmn:inclusiveGateway id="ExclusiveGateway_1qlu2p1">
            <bpmn:incoming>flow2</bpmn:incoming>
            <bpmn:outgoing>flow5</bpmn:outgoing>
            <bpmn:outgoing>flow7</bpmn:outgoing>
        </bpmn:inclusiveGateway>
        <bpmn:inclusiveGateway id="ExclusiveGateway_0t2xd5m">
            <bpmn:incoming>flow7</bpmn:incoming>
            <bpmn:incoming>flow6</bpmn:incoming>
            <bpmn:outgoing>flow8</bpmn:outgoing>
        </bpmn:inclusiveGateway>
        <bpmn:association id="Association1" associationDirection="One" sourceRef="BoundaryEvent_1qkuihx" targetRef="CompensateMyTask" />
    </bpmn:process>
    <bpmndi:BPMNDiagram id="BPMNDiagram_1">
        <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="oneTaskWithIntermediateThrowEvent">
            <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="theStart">
                <dc:Bounds x="202" y="282" width="36" height="36" />
                <bpmndi:BPMNLabel>
                    <dc:Bounds x="201" y="318" width="38" height="12" />
                </bpmndi:BPMNLabel>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="SequenceFlow_0ztqexv_di" bpmnElement="flow1">
                <di:waypoint xsi:type="dc:Point" x="238" y="300" />
                <di:waypoint xsi:type="dc:Point" x="345" y="300" />
                <bpmndi:BPMNLabel>
                    <dc:Bounds x="279" y="285" width="25" height="12" />
                </bpmndi:BPMNLabel>
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="EndEvent_0krnw5w_di" bpmnElement="theEnd">
                <dc:Bounds x="803" y="282" width="36" height="36" />
                <bpmndi:BPMNLabel>
                    <dc:Bounds x="804" y="318" width="34" height="12" />
                </bpmndi:BPMNLabel>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BoundaryEvent_0k875o3_di" bpmnElement="BoundaryEvent_1qkuihx">
                <dc:Bounds x="387" y="322" width="36" height="36" />
                <bpmndi:BPMNLabel>
                    <dc:Bounds x="405" y="358" width="0" height="0" />
                </bpmndi:BPMNLabel>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="Task_115he4b_di" bpmnElement="CompensateMyTask">
                <dc:Bounds x="466" y="386" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="Association_1b6mdcj_di" bpmnElement="Association1">
                <di:waypoint xsi:type="dc:Point" x="405" y="358" />
                <di:waypoint xsi:type="dc:Point" x="405" y="426" />
                <di:waypoint xsi:type="dc:Point" x="466" y="426" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="UserTask_052abl8_di" bpmnElement="theTask">
                <dc:Bounds x="345" y="260" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="SequenceFlow_1c3lpbx_di" bpmnElement="flow2">
                <di:waypoint xsi:type="dc:Point" x="445" y="300" />
                <di:waypoint xsi:type="dc:Point" x="549" y="300" />
                <bpmndi:BPMNLabel>
                    <dc:Bounds x="484" y="285" width="25" height="12" />
                </bpmndi:BPMNLabel>
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="SequenceFlow_1754ahi_di" bpmnElement="flow5">
                <di:waypoint xsi:type="dc:Point" x="574" y="275" />
                <di:waypoint xsi:type="dc:Point" x="574" y="173" />
                <di:waypoint xsi:type="dc:Point" x="642" y="173" />
                <bpmndi:BPMNLabel>
                    <dc:Bounds x="576" y="224" width="25" height="12" />
                </bpmndi:BPMNLabel>
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="IntermediateThrowEvent_0hx1jyn_di" bpmnElement="CancelthrowEvent">
                <dc:Bounds x="642" y="155" width="36" height="36" />
                <bpmndi:BPMNLabel>
                    <dc:Bounds x="615" y="191" width="89" height="12" />
                </bpmndi:BPMNLabel>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="SequenceFlow_0srd10y_di" bpmnElement="flow7">
                <di:waypoint xsi:type="dc:Point" x="599" y="300" />
                <di:waypoint xsi:type="dc:Point" x="714" y="300" />
                <bpmndi:BPMNLabel>
                    <dc:Bounds x="644" y="285" width="25" height="12" />
                </bpmndi:BPMNLabel>
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="SequenceFlow_137risc_di" bpmnElement="flow6">
                <di:waypoint xsi:type="dc:Point" x="678" y="173" />
                <di:waypoint xsi:type="dc:Point" x="739" y="173" />
                <di:waypoint xsi:type="dc:Point" x="739" y="275" />
                <bpmndi:BPMNLabel>
                    <dc:Bounds x="696" y="158" width="25" height="12" />
                </bpmndi:BPMNLabel>
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="SequenceFlow_0kvwroo_di" bpmnElement="flow8">
                <di:waypoint xsi:type="dc:Point" x="764" y="300" />
                <di:waypoint xsi:type="dc:Point" x="803" y="300" />
                <bpmndi:BPMNLabel>
                    <dc:Bounds x="771" y="275" width="25" height="12" />
                </bpmndi:BPMNLabel>
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="InclusiveGateway_03rmcae_di" bpmnElement="ExclusiveGateway_1qlu2p1">
                <dc:Bounds x="549" y="275" width="50" height="50" />
                <bpmndi:BPMNLabel>
                    <dc:Bounds x="574" y="325" width="0" height="0" />
                </bpmndi:BPMNLabel>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="InclusiveGateway_16epf33_di" bpmnElement="ExclusiveGateway_0t2xd5m">
                <dc:Bounds x="714" y="275" width="50" height="50" />
                <bpmndi:BPMNLabel>
                    <dc:Bounds x="739" y="325" width="0" height="0" />
                </bpmndi:BPMNLabel>
            </bpmndi:BPMNShape>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</bpmn:definitions>